package cn.tedu.baidashi.service;


import cn.tedu.baidashi.model.Address;
import cn.tedu.baidashi.vo.AddressVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tedu.cn
 * @since 2022-02-12
 */
public interface IAddressService extends IService<Address> {
     List<Address> getAll( );

    void registerAddress(AddressVo addressVo, String customerName);
    Boolean removeAddress(Integer id, String customerName);
    Address  selectAddressToFormById(Integer id);
    void  updateAddress(AddressVo addressVo,String customerName);

}
